{capture name="list"}
		{ext->aasort array=$data.aditionalelements.list args="-type" assign='aditionalelements_list'}		
		{assign var="filter" value=$smarty.get.block_filter}
		
		{foreach from=$aditionalelements_list item="el"}
		{assign var="type" value=$el.type}
		{if $_var.block_groups.$filter.$type || !$filter || $smarty.get.block_filter==$type}
		{assign var="ct" value=1}
			<!-- * -->
			<table width="100%" cellpadding="0" cellspacing="0">
				<tr>
					<td height="1" bgcolor="#FFFFFF"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
			</table>
			<table width="100%" cellpadding="0" cellspacing="0"{if !$el.hide}bgcolor="#FDFDFD"{else}bgcolor="#F4F6F7"{/if}>
				<tr>			
					<td height="22" width="70" align="center" style="border-right:1px solid #D6DBDE"><input name="ids[{$el.id}]" value="{$el.id}" type="checkbox"></td>
					<td width="170" align="left" style="border-right:1px solid #D6DBDE; padding-left:15px;">
					{t t=$el.type}
					</td>
					<td style="padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE"><a href="index.php?admin=1&id={$el.id}" class="blackNoUnderline" ><strong>{$el.name}</strong></a></td>
				</tr>
			</table>
			<table width="100%" cellpadding="0" cellspacing="0">
				<tr>
					<td height="1" bgcolor="#D6DBDE"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				</tr>
			</table>
			<!-- /* -->
		{/if}
		{/foreach}
{/capture}
{include file="admin/body/aditionalelements/tabs.htm"}
<form name="child_list" action="index.php" enctype="multipart/form-data" method="post">
<input name="admin" type="hidden" value="1">
<input name="mod" type="hidden" value="catalog">
<input name="act" type="hidden" value="">
<input name="parent" type="hidden" value="">
<input name="copys" type="hidden" value="">
<input name="referer" type="hidden" value="{ext->get_referer}">
<table width="100%" cellpadding="6" cellspacing="0" border="0" bordercolor="#DBE1E5" bgcolor="#DBE1E5">
<tr>
<td>

{include file="admin/body/aditionalelements/menu.html"}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
{if $ct}
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr>		
		<td  style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="70">{t t='Žymėjimas'}</td>	
		<td height="20" style="font-size:9px; color:#4C4C4C; text-align:left; border-right:1px solid #D6DBDE; padding-left:15px;" width="170">{t t='Tipas'}</td>		
		<td style="font-size:9px; color:#4C4C4C; text-align:left; padding:0px 0px 0px 10px">{t t='Pavadinimas'}</td>			
	</tr>
</table>
{/if}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#D6DBDE"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
{$smarty.capture.list}
{if !$ct}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="50" bgcolor="#FFFFFF" align="center" style="padding:15px">{t t='Nėra neivieno papildomo elemento. Sukurkite juose!'}.{if $smarty.get.block_filter} {t t="Įjungtas filtras, matosi tik"}: {t t=$smarty.get.block_filter} <a href="index.php?admin=1" target="_self">({t t="Norėdami pamatyti visų tipų informacijos blokus spauskite čia"})<a href="#" target="_self"></a></a>{/if}</td>		
	</tr>
</table>
{/if}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>	
</table>
{include file="admin/body/aditionalelements/menu.html"}
</td>		
</tr>
</table>
</form>